package com.andreamerla.petslife.manager;

import android.app.AlertDialog;
import android.content.Context;
import com.andreamerla.petslife.R;

/**
 * Created by IntelliJ IDEA.
 * User: a.merla
 * Date: 19/07/13
 * Time: 11.30
 */
public class AlertDialogManager {
    public static void showAlertDialog(Context context, String title, String message) {
        AlertDialog.Builder builder = new AlertDialog.Builder(context);
        builder.setTitle(title);
        builder.setMessage(message);
        builder.setCancelable(true);
        builder.setPositiveButton(context.getString(R.string.ok), null);
        AlertDialog dialog = builder.create();
        dialog.show();
    }
}
